#include <catch2/catch.hpp>

#include "solution.hpp"

using namespace solution_011;

TEST_CASE("11. Container With Most Water", "[011]") {

CHECK(Solution().maxArea({1,8,6,2,5,4,8,3,7}) == 49);
CHECK(Solution().maxArea({1,1})               == 1);
CHECK(Solution().maxArea({1,2,4,3})           == 4);

}
